package ext.acae2.dms.bean;

import java.util.List;
import java.util.Map;

public class DocumentBean extends DataBean {

	private String partId;
	private String locationRef;
	private String supplier;
	private String format;
	
	private List<String> locationRefList; // only export
	private String description; // only export
	private Map<String,String> map; // only export

	// attributes
	private String OBJNAME;
	private String TITLE;
	private String DOCUMENTID;
	private String DOCUMENTTYPE;
	private String MODEL;
	private String COPYRIGHT;
	private String DESIGN;
	private String REMARK;
	
	private String CONTENTTYPE;

	public DocumentBean(String id, String number, String name, String version,
			String state, String type, String partId, String locationRef,
			String OBJNAME, String TITLE, String DOCUMENTID,
			String DOCUMENTTYPE, String MODEL, String COPYRIGHT,String DESIGN, String supplier, List<String> locationRefList, String description,Map<String,String> map,String REMARK, String format) {
		super(id, number, name, version, state, type);
		this.partId = partId;
		this.locationRef = locationRef;
		this.supplier = supplier;
		this.format = format;
		
		this.locationRefList = locationRefList; // only export
		this.description = description; // only export
		this.map = map; // only export

		this.OBJNAME = OBJNAME;
		this.TITLE = TITLE;
		this.DOCUMENTID = DOCUMENTID;
		this.DOCUMENTTYPE = DOCUMENTTYPE;
		this.MODEL = MODEL;
		this.COPYRIGHT = COPYRIGHT;
		this.DESIGN = DESIGN;
		this.REMARK = REMARK;
	}

	public DocumentBean() {

	}

	public String getPartId() {
		return partId;
	}

	public void setPartId(String partId) {
		this.partId = partId;
	}

	public String getLocationRef() {
		return locationRef;
	}

	public void setLocationRef(String locationRef) {
		this.locationRef = locationRef;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}
	
	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public String getOBJNAME() {
		return OBJNAME;
	}

	public void setOBJNAME(String oBJNAME) {
		OBJNAME = oBJNAME;
	}

	public String getDOCUMENTID() {
		return DOCUMENTID;
	}

	public void setDOCUMENTID(String dOCUMENTID) {
		DOCUMENTID = dOCUMENTID;
	}

	public String getDOCUMENTTYPE() {
		return DOCUMENTTYPE;
	}

	public void setDOCUMENTTYPE(String dOCUMENTTYPE) {
		DOCUMENTTYPE = dOCUMENTTYPE;
	}

	public String getMODEL() {
		return MODEL;
	}

	public void setMODEL(String mODEL) {
		MODEL = mODEL;
	}
	
	public String getCOPYRIGHT() {
		return COPYRIGHT;
	}

	public void setCOPYRIGHT(String cOPYRIGHT) {
		COPYRIGHT = cOPYRIGHT;
	}

	public String getDESIGN() {
		return DESIGN;
	}

	public void setDESIGN(String dESIGN) {
		DESIGN = dESIGN;
	}

	public String getTITLE() {
		return TITLE;
	}

	public void setTITLE(String tITLE) {
		TITLE = tITLE;
	}
	
	public List<String> getLocationRefList() {
		return locationRefList;
	}

	public void setLocationRefList(List<String> locationRefList) {
		this.locationRefList = locationRefList;
	}
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public Map<String, String> getMap() {
		return map;
	}

	public void setMap(Map<String, String> map) {
		this.map = map;
	}
	
	public String getREMARK() {
		return REMARK;
	}

	public void setREMARK(String rEMARK) {
		REMARK = rEMARK;
	}
	
	public String getCONTENTTYPE() {
		return CONTENTTYPE;
	}

	public void setCONTENTTYPE(String cONTENTTYPE) {
		CONTENTTYPE = cONTENTTYPE;
	}
}
